package com.app.internationaltravel.dao;

import com.app.internationaltravel.dto.UserDetailDto;
import com.app.internationaltravel.dto.UserDetailQueryMyDto;
import com.app.internationaltravel.entity.UserDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 刘豆豆
 * @date 2022/12/13
 */

public interface UserDetailDao extends BaseMapper<UserDetail> {
  //修改
  int updataDetail(UserDetailDto dto);

  //多表查询
  UserDetailQueryMyDto queryMy(int uid);

  //更改虚拟币
  int updataGold(@Param("uid") int uid,@Param("g") int g);
}
